import axios from 'axios'

const httpRequest = axios.create({
  baseURL: 'http://172.28.0.15:8083/atdas/api/', // 请求的基础路径
  // timeout: 1000
})
// 响应拦截器
axios.interceptors.response.use(function (response) {
  console.log("response", response);
  return response.data
}, function (error) {
  return Promise.reject(error)
})
export default httpRequest